<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="../../commons/taglibs.jsp"%>
<style>
.pf-row {
	margin-bottom: 5px;
}

.pf-row  label {
	display: inline-block;
	width: 20%;
	text-align: right;
}
</style>
<div class="modal fade" id="pf-add-member-modal">
	<div class="modal-dialog ">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"></button>
				<h3 id="pf-modal-title">添加用户</h3>
			</div>
			<div class="modal-body">
				<form id="pf-member-save-form" action="/manage/system/member/save" method="post">
					<%--用户id --%>
					<input type="hidden" class="form-control" placeholder="id" name="id" />
					<div class="pf-row">

						<label>
							<span class="red">*</span>
							登录名:
						</label>
						<input type="text" class="form-control" style="display: inline-block; width: 50%" placeholder="登录名" name="loginname" />
					</div>
					<div class="pf-row">

						<label>
							<span class="red">*</span>
							姓名:
						</label>
						<input type="text" class="form-control" style="display: inline-block; width: 50%" placeholder="姓名" name="realname" />
					</div>
					<div class="pf-row">

						<label> 电话: </label>
						<input type="text" class="form-control" style="display: inline-block; width: 50%" placeholder="电话" name="tel" />
					</div>
					<div class="pf-row">

						<label> 邮件: </label>
						<input type="text" class="form-control" style="display: inline-block; width: 50%" placeholder="邮件" name="email" />
					</div>
					<div class="pf-row">

						<label>
							<span class="red">*</span>
							是否管理员:
						</label>
						<input type="radio" style="display: inline-block; width: 5%" name="isAdmin" value="true">
						是
						<input type="radio" style="display: inline-block; width: 5%" name="isAdmin" value="false" checked>
						否
					</div>
					<div class="pf-row">

						<label>
							<span class="red">*</span>
							状态:
						</label>

						<input type="radio" style="display: inline-block; width: 5%" name="status" value="1" checked>
						启用
						<input type="radio" style="display: inline-block; width: 5%" name="status"  value="0">
						禁用
					</div>
					<div class="pf-row">

						<label> 备注: </label>
						<input type="text" class="form-control" style="display: inline-block; width: 50%" placeholder="备注" name="mark" />
					</div>
				</form>
			</div>
			<div class="modal-footer">
				<button type="button" data-dismiss="modal" class="btn">关闭</button>
				<button type="button" class="btn btn-primary pf-submit">提交</button>
			</div>
		</div>
	</div>
</div>


<%-- 角色管理modal --%>
<div class="modal fade" id="pf-add-role-modal">
	<div class="modal-dialog ">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal"></button>
				<h3 id="pf-modal-title">角色</h3>
			</div>
			<div class="modal-body">
				<div class="row">
					<div class="col-xs-6">
						<div id="toolbar1">现有角色:</div>
						<table class="table table-striped table-bordered table-hover table-full-width" id="pf-role-table"data-toolbar="#toolbar1">
						</table>
					</div>
					<div class="col-xs-6">
						<div id="toolbar2">可选角色:</div>
						<table class="table table-striped table-bordered table-hover table-full-width" id="pf-role-all-table"data-toolbar="#toolbar2">
						</table>
					</div>
				</div>
				</thead>
				<tbody>

				</tbody>
				</table>
			</div>
			<div class="modal-footer">
				<button type="button" data-dismiss="modal" class="btn">关闭</button>
			</div>
		</div>
	</div>
</div>
